package com.example.ythhome.login.entity;

import lombok.Data;

@Data
public class ResponseData<T> {

    public ResponseData(Boolean success, T data){
        this.success = success;
        this.data = data;
    }

    public final static boolean StatusCodeEnum_SUCCESS = true;
    public final static boolean StatusCodeEnum_ERROR = false;
    Boolean success;

    T data;
}
